<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>店铺分类</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" type="text/css" href="css/reset.css">
	<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
	<link rel="stylesheet" type="text/css" href="css/main.css">
	<link rel="stylesheet" type="text/css" href="css/child.css">
</head>
<body>
<header id="header"></header>
<div class="content">
<ul class="voucher-tab">
  <li> <a href="shop.html" data-state="1">所有店铺</a> </li>
  <li> <a href="shop_class.html" data-state="2" class="current">店铺分类</a> </li>
</ul>
	<div class="categroy-cnt" id="categroy-cnt"></div>
</div>
<div id="footer"></div>
</body>
<script type="text/html" id="category-one">
	<ul class="categroy-list">
		<% for(var i = 0;i<class_list.length;i++){
		var locUrl = "";
		if(class_list[i]['sc_id'].toString().length >0) {
			locUrl = WapSiteUrl+"/shop.html?sc_id="+class_list[i]['sc_id'].toString();
		}else {
			locUrl = WapSiteUrl+"/index.html";
		}
		%>
		<li class="category-item">
			<a href="<%=locUrl%>"class="category-item-a">
				<div class="ci-fcategory-name"><%=class_list[i]['sc_name'].toString() %></div>
				<div class="ci-fcategory-text"></div>
				<span class="grayrightarrow"></span>
			</a>
		</li>
		<% } %>
		
		<li class="category-item">
			<a class="category-item-a" href="/wap/shop.html?sc_id=0">
				<div class="ci-fcategory-name" style="color:red">显示所有店铺</div>
				<div class="ci-fcategory-text"></div>
				<span class="grayrightarrow"></span>
			</a>
		</li>
		
	</ul>
</script>
<script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript" src="js/zepto.min.js"></script>
<script type="text/javascript" src="js/template.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/tmpl/common-top.js"></script>
<script type="text/javascript" src="js/shop_class.js"></script>
<script type="text/javascript" src="js/tmpl/footer.js"></script>
</html>